package com.alibaba.otter.manager.web.dto;

import com.alibaba.otter.shared.common.model.config.channel.Channel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.Instant;
import java.util.Map;

@Setter
@Getter
@NoArgsConstructor
public class HistoryThroughputInfoDTO {


    private Instant start;

    private Instant end;

    private Long pipelineId;

    private Channel channel;

    private Long totalRowRecord;

    private Long totalFileRecord;

    private Long totalRowSize;

    private Long totalFileSize;

    private Map<Long, RecentThroughputStatDTO.ThroughputInfoDTO> rowThroughput;

    private Map<Long, RecentThroughputStatDTO.ThroughputInfoDTO> fileThroughput;


}
